# $Id: PKGBUILD 176871 2013-02-02 04:20:32Z bisson $
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=mime-types
pkgver=8
pkgrel=1
pkgdesc='Provides /etc/mime.types'
url='http://www.archlinux.org/'
license=('GPL2')
arch=('any')
backup=('etc/mime.types')
source=("http://mirrors.kernel.org/gentoo/distfiles/${pkgname}-${pkgver}.tar.bz2"
        'archlinux.patch')
sha1sums=('01682b0ad3111a6cf65e6c9db0c18ddd7523c593'
          '2fc3e867317e7144bbf38359f3791c3f8899198a')

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	patch -p1 -i ../archlinux.patch
	install -Dm644 mime.types "${pkgdir}"/etc/mime.types
}
